# -*- coding: utf-8 -*-
from PyQt4.QtCore import *

class Player(QObject):
    active = False

    def __init__(self, table):
        self.table = table
        self.connect(self.table, SIGNAL('activated'), self.activated)

    def activate(self):
        self.active = True
        self.activated()

    def deactivate(self):
        self.active = False

    def activated(self):
        pass
